package org.cuit.echo.seon.util;

import lombok.AllArgsConstructor;

/**
 * @author SeonExlike
 * @since 2024/3/29
 */
@AllArgsConstructor
public class Printer implements Runnable {

    private final Runnable beforeAction;

    private final String comment;

    @Override
    public void run() {
        beforeAction.run();
        System.out.println(comment);
    }
}